home *** CD-ROM | disk | FTP | other *** search
/ Joytech 2005 (USA) / Joytech 2005 (USA).bin / pc / installers / adobe reader 6.0 / adobe reader 6.0.app / contents / resources / adobe reader.rsrc / TEXT_506_PDF.txt < prev    next >
Encoding:
Text File  |  2006-01-01  |  9.6 KB  |  550 lines

  1. %%BeginResource: procset pdf 6.0 1
  2. %%Copyright: Copyright 1998-2003 Adobe Systems Incorporated. All Rights Reserved.
  3. %%Title: General operators for PDF, common to all Language Levels.
  4. /cm { matrix astore concat } bd
  5. /d /setdash ld
  6. /f /fill ld
  7. /h /closepath ld
  8. /i {dup 0 eq {pop _defaultflatness} if setflat} bd
  9. /j /setlinejoin ld
  10. /J /setlinecap ld
  11. /M /setmiterlimit ld
  12. /n /newpath ld
  13. /S /stroke ld
  14. /w /setlinewidth ld
  15. /W /clip ld
  16. /sg /setgray ld
  17. /initgs {
  18. 0 setgray
  19. [] 0 d
  20. 0 j
  21. 0 J
  22. 10 M
  23. 1 w
  24. false setSA
  25. /_defaulttransfer load settransfer
  26. 0 i
  27. /RelativeColorimetric ri
  28. newpath
  29. } bd
  30. /int {
  31. dup 2 index sub 3 index 5 index sub div 6 -2 roll sub mul
  32. exch pop add exch pop
  33. } bd
  34. /limit {
  35. dup 2 index le { exch } if pop
  36. dup 2 index ge { exch } if pop
  37. } bd
  38. /domainClip {
  39. Domain aload pop 3 2 roll
  40. limit
  41. } [/Domain] bld
  42. /applyInterpFunc {
  43. 0 1 DimOut 1 sub
  44. {
  45. dup C0 exch get exch
  46. dup C1 exch get exch
  47. 3 1 roll
  48. 1 index sub
  49. 3 index
  50. N exp mul add
  51. exch
  52. currentdict /Range_lo known
  53. {
  54. dup Range_lo exch get exch
  55. Range_hi exch get
  56. 3 2 roll limit
  57. }
  58. {
  59. pop
  60. }
  61. ifelse
  62. exch
  63. } for
  64. pop
  65. } [/DimOut /C0 /C1 /N /Range_lo /Range_hi] bld
  66. /encodeInput {
  67. NumParts 1 sub
  68. 0 1 2 index
  69. {
  70. dup Bounds exch get
  71. 2 index gt
  72. { exit }
  73. { dup
  74. 3 index eq
  75. { exit }
  76. { pop } ifelse
  77. } ifelse
  78. } for
  79. 3 2 roll pop
  80. dup Bounds exch get exch
  81. dup 1 add Bounds exch get exch
  82. 2 mul
  83. dup Encode exch get exch
  84. 1 add Encode exch get
  85. int
  86. } [/NumParts /Bounds /Encode] bld
  87. /rangeClip {
  88. exch dup Range_lo exch get
  89. exch Range_hi exch get
  90. 3 2 roll
  91. limit
  92. } [/Range_lo /Range_hi] bld
  93. /applyStitchFunc {
  94. Functions exch get exec
  95. currentdict /Range_lo known {
  96. 0 1 DimOut 1 sub {
  97. DimOut 1 add -1 roll
  98. rangeClip
  99. } for
  100. } if
  101. } [/Functions /Range_lo /DimOut] bld
  102. /pdf_flushfilters
  103. {
  104. aload length
  105. { dup status
  106. 1 index currentfile ne and
  107. { dup flushfile closefile }
  108. { pop }
  109. ifelse
  110. } repeat
  111. } bd
  112. /pdf_readstring
  113. {
  114. 1 index dup length 1 sub get
  115. exch readstring pop
  116. exch pdf_flushfilters
  117. } bind def
  118. /pdf_dictOp
  119. {
  120. 3 2 roll
  121. 10 dict copy
  122. begin
  123. _Filters dup length 1 sub get def
  124. currentdict exch exec
  125. _Filters pdf_flushfilters
  126. end
  127. } [/_Filters] bld
  128. /pdf_image {{image} /DataSource pdf_dictOp} bd
  129. /pdf_imagemask {{imagemask} /DataSource pdf_dictOp} bd
  130. /pdf_shfill {{sh} /DataSource pdf_dictOp} bd
  131. /pdf_sethalftone {{sethalftone} /Thresholds pdf_dictOp} bd
  132. /pdf_maskedImage
  133. {
  134. 10 dict copy begin
  135. /miDict currentdict def
  136. /DataDict DataDict 10 dict copy def
  137. DataDict begin
  138. /DataSource
  139. _Filters dup length 1 sub get
  140. def
  141. miDict image
  142. _Filters pdf_flushfilters
  143. end
  144. MaskDict /DataSource get dup type /filetype eq { closefile } { pop } ifelse
  145. end
  146. } [/miDict /DataDict /_Filters] bld
  147. /RadialShade {
  148. 40 dict begin
  149. /background exch def
  150. /ext1 exch def
  151. /ext0 exch def
  152. /BBox exch def
  153. /r2 exch def
  154. /c2y exch def
  155. /c2x exch def
  156. /r1 exch def
  157. /c1y exch def
  158. /c1x exch def
  159. /rampdict exch def
  160. gsave
  161. BBox length 0 gt {
  162. newpath
  163. BBox 0 get BBox 1 get moveto
  164. BBox 2 get BBox 0 get sub 0 rlineto
  165. 0 BBox 3 get BBox 1 get sub rlineto
  166. BBox 2 get BBox 0 get sub neg 0 rlineto
  167. closepath
  168. clip
  169. newpath
  170. } if
  171. c1x c2x eq
  172. {
  173. c1y c2y lt {/theta 90 def}{/theta 270 def} ifelse
  174. }
  175. {
  176. /slope c2y c1y sub c2x c1x sub div def
  177. /theta slope 1 atan def
  178. c2x c1x lt c2y c1y ge and { /theta theta 180 sub def} if
  179. c2x c1x lt c2y c1y lt and { /theta theta 180 add def} if
  180. }
  181. ifelse
  182. gsave
  183. clippath
  184. c1x c1y translate
  185. theta rotate
  186. -90 rotate
  187. { pathbbox } stopped
  188. { 0 0 0 0 } if
  189. /yMax exch def
  190. /xMax exch def
  191. /yMin exch def
  192. /xMin exch def
  193. grestore
  194. xMax xMin eq yMax yMin eq or
  195. {
  196. grestore
  197. end
  198. }
  199. {
  200. /max { 2 copy gt { pop } {exch pop} ifelse } bind def
  201. /min { 2 copy lt { pop } {exch pop} ifelse } bind def
  202. rampdict begin
  203. 40 dict begin
  204. background length 0 gt { background sssetbackground gsave clippath fill grestore } if
  205. gsave
  206. c1x c1y translate
  207. theta rotate
  208. -90 rotate
  209. /c2y c1x c2x sub dup mul c1y c2y sub dup mul add sqrt def
  210. /c1y 0 def
  211. /c1x 0 def
  212. /c2x 0 def
  213. ext0 {
  214. 0 getrampcolor
  215. c2y r2 add r1 sub 0.0001 lt
  216. {
  217. c1x c1y r1 360 0 arcn
  218. pathbbox
  219. /aymax exch def
  220. /axmax exch def
  221. /aymin exch def
  222. /axmin exch def
  223. /bxMin xMin axmin min def
  224. /byMin yMin aymin min def
  225. /bxMax xMax axmax max def
  226. /byMax yMax aymax max def
  227. bxMin byMin moveto
  228. bxMax byMin lineto
  229. bxMax byMax lineto
  230. bxMin byMax lineto
  231. bxMin byMin lineto
  232. eofill
  233. }
  234. {
  235. c2y r1 add r2 le
  236. {
  237. c1x c1y r1 0 360 arc
  238. fill
  239. }
  240. {
  241. c2x c2y r2 0 360 arc fill
  242. r1 r2 eq
  243. {
  244. /p1x r1 neg def
  245. /p1y c1y def
  246. /p2x r1 def
  247. /p2y c1y def
  248. p1x p1y moveto p2x p2y lineto p2x yMin lineto p1x yMin lineto
  249. fill
  250. }
  251. {
  252. /AA r2 r1 sub c2y div def
  253. AA -1 eq
  254. { /theta 89.99 def}
  255. { /theta AA 1 AA dup mul sub sqrt div 1 atan def}
  256. ifelse
  257. /SS1 90 theta add dup sin exch cos div def
  258. /p1x r1 SS1 SS1 mul SS1 SS1 mul 1 add div sqrt mul neg def
  259. /p1y p1x SS1 div neg def
  260. /SS2 90 theta sub dup sin exch cos div def
  261. /p2x r1 SS2 SS2 mul SS2 SS2 mul 1 add div sqrt mul def
  262. /p2y p2x SS2 div neg def
  263. r1 r2 gt
  264. {
  265. /L1maxX p1x yMin p1y sub SS1 div add def
  266. /L2maxX p2x yMin p2y sub SS2 div add def
  267. }
  268. {
  269. /L1maxX 0 def
  270. /L2maxX 0 def
  271. }ifelse
  272. p1x p1y moveto p2x p2y lineto L2maxX L2maxX p2x sub SS2 mul p2y add lineto
  273. L1maxX L1maxX p1x sub SS1 mul p1y add lineto
  274. fill
  275. }
  276. ifelse
  277. }
  278. ifelse
  279. } ifelse
  280. } if
  281. c1x c2x sub dup mul
  282. c1y c2y sub dup mul
  283. add 0.5 exp
  284. 0 dtransform
  285. dup mul exch dup mul add 0.5 exp 72 div
  286. 0 72 matrix defaultmatrix dtransform dup mul exch dup mul add sqrt
  287. 72 0 matrix defaultmatrix dtransform dup mul exch dup mul add sqrt
  288. 1 index 1 index lt { exch } if pop
  289. /hires exch def
  290. hires mul
  291. /numpix exch def
  292. /numsteps NumSamples def
  293. /rampIndxInc 1 def
  294. /subsampling false def
  295. numpix 0 ne
  296. {
  297. NumSamples numpix div 0.5 gt
  298. {
  299. /numsteps numpix 2 div round cvi dup 1 le { pop 2 } if def
  300. /rampIndxInc NumSamples 1 sub numsteps div def
  301. /subsampling true def
  302. } if
  303. } if
  304. /xInc c2x c1x sub numsteps div def
  305. /yInc c2y c1y sub numsteps div def
  306. /rInc r2 r1 sub numsteps div def
  307. /cx c1x def
  308. /cy c1y def
  309. /radius r1 def
  310. newpath
  311. xInc 0 eq yInc 0 eq rInc 0 eq and and
  312. {
  313. 0 getrampcolor
  314. cx cy radius 0 360 arc
  315. stroke
  316. NumSamples 1 sub getrampcolor
  317. cx cy radius 72 hires div add 0 360 arc
  318. 0 setlinewidth
  319. stroke
  320. }
  321. {
  322. 0
  323. numsteps
  324. {
  325. dup
  326. subsampling { round } if
  327. getrampcolor
  328. cx cy radius 0 360 arc
  329. /cx cx xInc add def
  330. /cy cy yInc add def
  331. /radius radius rInc add def
  332. cx cy radius 360 0 arcn
  333. eofill
  334. rampIndxInc add
  335. }
  336. repeat
  337. pop
  338. } ifelse
  339. ext1 {
  340. c2y r2 add r1 lt
  341. {
  342. c2x c2y r2 0 360 arc
  343. fill
  344. }
  345. {
  346. c2y r1 add r2 sub 0.0001 le
  347. {
  348. c2x c2y r2 360 0 arcn
  349. pathbbox
  350. /aymax exch def
  351. /axmax exch def
  352. /aymin exch def
  353. /axmin exch def
  354. /bxMin xMin axmin min def
  355. /byMin yMin aymin min def
  356. /bxMax xMax axmax max def
  357. /byMax yMax aymax max def
  358. bxMin byMin moveto
  359. bxMax byMin lineto
  360. bxMax byMax lineto
  361. bxMin byMax lineto
  362. bxMin byMin lineto
  363. eofill
  364. }
  365. {
  366. c2x c2y r2 0 360 arc fill
  367. r1 r2 eq
  368. {
  369. /p1x r2 neg def
  370. /p1y c2y def
  371. /p2x r2 def
  372. /p2y c2y def
  373. p1x p1y moveto p2x p2y lineto p2x yMax lineto p1x yMax lineto
  374. fill
  375. }
  376. {
  377. /AA r2 r1 sub c2y div def
  378. AA -1 eq
  379. { /theta 89.99 def}
  380. { /theta AA 1 AA dup mul sub sqrt div 1 atan def}
  381. ifelse
  382. /SS1 90 theta add dup sin exch cos div def
  383. /p1x r2 SS1 SS1 mul SS1 SS1 mul 1 add div sqrt mul neg def
  384. /p1y c2y p1x SS1 div sub def
  385. /SS2 90 theta sub dup sin exch cos div def
  386. /p2x r2 SS2 SS2 mul SS2 SS2 mul 1 add div sqrt mul def
  387. /p2y c2y p2x SS2 div sub def
  388. r1 r2 lt
  389. {
  390. /L1maxX p1x yMax p1y sub SS1 div add def
  391. /L2maxX p2x yMax p2y sub SS2 div add def
  392. }
  393. {
  394. /L1maxX 0 def
  395. /L2maxX 0 def
  396. }ifelse
  397. p1x p1y moveto p2x p2y lineto L2maxX L2maxX p2x sub SS2 mul p2y add lineto
  398. L1maxX L1maxX p1x sub SS1 mul p1y add lineto
  399. fill
  400. }
  401. ifelse
  402. }
  403. ifelse
  404. } ifelse
  405. } if
  406. grestore
  407. grestore
  408. end
  409. end
  410. end
  411. } ifelse
  412. } bd
  413. /GenStrips {
  414. 40 dict begin
  415. /background exch def
  416. /ext1 exch def
  417. /ext0 exch def
  418. /BBox exch def
  419. /y2 exch def
  420. /x2 exch def
  421. /y1 exch def
  422. /x1 exch def
  423. /rampdict exch def
  424. gsave
  425. BBox length 0 gt {
  426. newpath
  427. BBox 0 get BBox 1 get moveto
  428. BBox 2 get BBox 0 get sub 0 rlineto
  429. 0 BBox 3 get BBox 1 get sub rlineto
  430. BBox 2 get BBox 0 get sub neg 0 rlineto
  431. closepath
  432. clip
  433. newpath
  434. } if
  435. x1 x2 eq
  436. {
  437. y1 y2 lt {/theta 90 def}{/theta 270 def} ifelse
  438. }
  439. {
  440. /slope y2 y1 sub x2 x1 sub div def
  441. /theta slope 1 atan def
  442. x2 x1 lt y2 y1 ge and { /theta theta 180 sub def} if
  443. x2 x1 lt y2 y1 lt and { /theta theta 180 add def} if
  444. }
  445. ifelse
  446. gsave
  447. clippath
  448. x1 y1 translate
  449. theta rotate
  450. { pathbbox } stopped
  451. { 0 0 0 0 } if
  452. /yMax exch def
  453. /xMax exch def
  454. /yMin exch def
  455. /xMin exch def
  456. grestore
  457. xMax xMin eq yMax yMin eq or
  458. {
  459. grestore
  460. end
  461. }
  462. {
  463. rampdict begin
  464. 20 dict begin
  465. background length 0 gt { background sssetbackground gsave clippath fill grestore } if
  466. gsave
  467. x1 y1 translate
  468. theta rotate
  469. /xStart 0 def
  470. /xEnd x2 x1 sub dup mul y2 y1 sub dup mul add 0.5 exp def
  471. /ySpan yMax yMin sub def
  472. /numsteps NumSamples def
  473. /rampIndxInc 1 def
  474. /subsampling false def
  475. xStart 0 transform
  476. xEnd 0 transform
  477. 3 -1 roll
  478. sub dup mul
  479. 3 1 roll
  480. sub dup mul
  481. add 0.5 exp 72 div
  482. 0 72 matrix defaultmatrix dtransform dup mul exch dup mul add sqrt
  483. 72 0 matrix defaultmatrix dtransform dup mul exch dup mul add sqrt
  484. 1 index 1 index lt { exch } if pop
  485. mul
  486. /numpix exch def
  487. numpix 0 ne
  488. {
  489. NumSamples numpix div 0.5 gt
  490. {
  491. /numsteps numpix 2 div round cvi dup 1 le { pop 2 } if def
  492. /rampIndxInc NumSamples 1 sub numsteps div def
  493. /subsampling true def
  494. } if
  495. } if
  496. ext0 {
  497. 0 getrampcolor
  498. xMin xStart lt
  499. { xMin yMin xMin neg ySpan rectfill } if
  500. } if
  501. /xInc xEnd xStart sub numsteps div def
  502. /x xStart def
  503. 0
  504. numsteps
  505. {
  506. dup
  507. subsampling { round } if
  508. getrampcolor
  509. x yMin xInc ySpan rectfill
  510. /x x xInc add def
  511. rampIndxInc add
  512. }
  513. repeat
  514. pop
  515. ext1 {
  516. xMax xEnd gt
  517. { xEnd yMin xMax xEnd sub ySpan rectfill } if
  518. } if
  519. grestore
  520. grestore
  521. end
  522. end
  523. end
  524. } ifelse
  525. } bd
  526. /currentdistillerparams where { pop currentdistillerparams /CoreDistVersion get 5000 lt}{true}ifelse
  527. {
  528. /PDFMark5 {cleartomark} bd
  529. }
  530. {
  531. /PDFMark5 {pdfmark} bd
  532. }ifelse
  533. /ReadByPDFMark5
  534. {
  535. 2 dict begin
  536. /makerString exch def string /tmpString exch def
  537. {
  538. currentfile tmpString readline pop
  539. makerString anchorsearch
  540. {
  541. pop pop cleartomark exit
  542. }
  543. {
  544. 3 copy /PUT PDFMark5 pop 2 copy (\n) /PUT PDFMark5
  545. } ifelse
  546. }loop
  547. end
  548. }bd
  549. %%EndResource
  550.